Retrieve or set the current value in milliseconds _IELoadWait will try before timing out.
#include <IE.au3>
_IELoadWaitTimeout ( [$i_timeout = -1] )
Parameters
$i_timeout | Optional: retrieve or specify the number of milliseconds 0 or positive integer sets timeout to this value -1 = (Default) returns the current timeout value (stored in global variable $__IELoadWaitTimeout) |
Return Value
Success: | If $i_timeout = -1, returns the current timeout value, else returns 1 |
Failure: | None |
Remarks
There is no way to completely disable the Timeout value. You can functionally do this however by setting it to a very large positive integer.
Related
_IELoadWait
Example
; *******************************************************
; Example 1 - Obtain current timeout value
; *******************************************************
;
#include <IE.au3>
$iCurrentTimeout = _IELoadWaitTimeout ()
; *******************************************************
; Example 2 - Set timeout to 1 minute (60000 milliseconds)
; *******************************************************
;
#include <IE.au3>
_IELoadWaitTimeout (60000)